DTM6_ClearModelCache SiteModel Interface Library 

Declaration:

PROCEDURE   DTM6_ClearModelCache
( hObject:HANDLE ) ;

Description:

Clear the site model's cache.



  DTM6_GetDTMObject SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_GetDTMObject
(   hLayer :HANDLE;
    bPickUpModel :BOOLEAN
) :HANDLE ;

Description:

Gets the DTM. If it's only one on the document and/or on the passed layer return it. If there are many DTMs ask the user to pick up one.



  DTM6_GetDTMOver SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_GetDTMOver
( hObject:HANDLE ) :HANDLE ;

Description:

Gets the DTM over (geometrically) a specified object.



  DTM6_GetZatXY SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_GetZatXY
(   hDTMObject :HANDLE;
    TINType :INTEGER;
    x :REAL;
    y :REAL;
  VAR  outZ :REAL
) :BOOLEAN ;

Description:

Get the elevation at specified x,y on the specified DTM. Returns false if the DTM doesnt exist or the point is outside the DTM. TINType - 0:Existing; 1:Proposed; 2:Current



  DTM6_IsDTM6Object SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_IsDTM6Object
( hDTMObject:HANDLE ) :BOOLEAN ;

Description:

Check if the passed object handle is for SiteModel object type.



  DTM6_IsObjectReady SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_IsObjectReady
( hDTMObject:HANDLE ) :BOOLEAN ;

Description:

Check if the DTM object is ready to be used. If this returns false, you should call 'ResetObject' on the handle to let the DTM object prepare itself to be used.



  DTM6_IsTypeVisible SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_IsTypeVisible
(   hDTMObject :HANDLE;
    TINType :INTEGER
) :BOOLEAN ;

Description:

Return true if the specified DTM type is visible of the passed DTM object.



  DTM6_SendToSurface SiteModel Interface Library 

Declaration:

FUNCTION   DTM6_SendToSurface
(   hDTMObject :HANDLE;
    hObject :HANDLE;
    TINType :INTEGER
) :BOOLEAN ;

Description:

Modifies the passed object so it lies on the surface of the desired DTM.